<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8"  />
		<title>添加版块</title>
		<link rel="stylesheet" type="text/css" href="{$webSite}public/css/base.css"/>
	</head>

	<style>
		
		/*******	主体导航栏  a_head_main 	**********/
		.a_head_main{
			/* width:1000px; */
			width:82%;
			min-height:650px;
			float:left;
			margin-left:180px;
			margin-top:120px;
		}
		.main_site1_head{
			/* width:1000px; */
			width:100%;
			height:50px;
			border-bottom:1px #DEEFFB solid;
			line-height:50px;
			font-size:16px;
			font-weight:bold;
			color:#09C;
		}
		
		.main_site1_head2{
			/* width:1000px; */
			width:100%;
			height:35px;
			background:#F3F8FD;
			border-bottom:1px #DEEFFB solid;
			line-height:35px;
			font-size:14px;
			font-weight:bold;
			color:#09C;
		}
		
		.main_site2_head3{
			/* width:1000px; */
			width:100%;
			height:40px;
			line-height:40px;
			border-bottom:1px #DEEFFB solid;
			color:#555;
			
		}
	


		.main_site2_form_head{
			/* width:1000px; */
			width:100%;
			height:40px;
			background:#fff;
			border-bottom:1px #DEEFFB solid;
			line-height:40px;
			
		}
		
		.main_site2_form_body{
			/* width:1000px; */
			width:100%;
			height:50px;
			background:#fff;
			border-bottom:1px #DEEFFB solid;
			line-height:50px;
			
		}
		.main_site2_form_body:hover{
		
			background:#F2F9FD;
			
		}
		.main_site2_form_body  .put1{
			float:left;
			margin-left:20px;
			color:#555;
		}
		.main_site2_form_body  .put2{
			float:left;
			width:250px;
			margin-left:170px;
			height:20px;
			margin-top:15px;
		}
		
		.main_site2_form_body  input:hover{
			border:1px #09C solid;
		}
		.main_site2_form_btn{
			/* width:1000px; */
			width:100%;
			height:50px;
			background:#fff;
			border-bottom:1px #DEEFFB solid;
			line-height:50px;
		}
		.main_site2_form_btn input{
			
			width:50px;
			height:25px;
			background:#7B68EE;
			color:#fff;
			font-size:14px;
			float:left;
			margin-top:10px;
			margin-left:20px;
		}
		.main_site2_form_btn  .btn{
			margin-left:520px;
		}
		.main_site2_form_body  select{
			float:left;
			width:250px;
			margin-left:170px;
			height:25px;
			margin-top:15px;
		}


	</style>
	<body>
		<!-- 操作主体  a_head_main-->
		<div class="a_head_main">
			<div class="main_site1_head">添加版块</div>
			
			<div class="main_site1_head2">&nbsp;技巧提示</div>

			<div class="main_site2_head3">
				<div>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;添加时不选择大版块即为添加大版块</div>
				
			</div>
			
			<!-- form表单部分 -->

			<form action="{$webSite}admin/admin/admin_category3.php" method="post" enctype="multipart/form-data">

			<!-- foreach循环遍历处 -->
			<div class="main_site2_form_body clearFix">

				<div class="put1">版块名称&nbsp;&nbsp;&nbsp;&nbsp;</div>
			
				<input class="put2" type="text" name="classname" maxlength="18">				
			</div>
			
			<div class="main_site2_form_body clearFix">

				<div class="put1">选择大版块</div>
			
				<select name="Pcategory" id="category" class="user_detail_body2_put1">

					<option value="">-大版块-</option>
					
					<!-- 遍历出父级版块 -->
					{if $resCategory}
					{foreach $resCategory as $valCategory3}
						{if $valCategory3['parentid'] == 0}
					<option did="1" value="{$valCategory3['cid']}">{$valCategory3['classname']}</option>
						{/if}
					{/foreach}
					{/if}

				</select>			
			</div>

			<div  class="main_site2_form_btn">
				<input class="btn" type="submit" value="提 交">
			</div>

			</form>

		</div>
	</body>
</html>